package com.seamtop.cuber.common.entriy;

import com.alibaba.fastjson.JSONObject;

/**
 * Created by feng on 2015/11/17.
 */
public class HttpReturn extends JSONObject{

    public static final String RETURN_CODE_SUCCESS = "0";

    public static final String RETURN_CODE_FAILURE = "1";

    public static final String RETURN_CODE_ERROR = "2";

    public HttpReturn(String result, String desc){
        this.put("result",result);
        this.put("desc",desc);
    }

    public String toString(){
        return this.toJSONString();
    }
}
